package com.yf.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;

import java.io.Serializable;
import java.util.Date;

/**
 * GPSHistory查询表单
 *
 * @author wangbiao
 * @date 2016-08-19 10：11
 */
@ApiModel(value = "GPSHistory查询表单")
public class GPSHistoryForm implements Serializable{

    private static final long serialVersionUID = 2247533641250575259L;

    /**
     * 车主ID
     */
    @ApiModelProperty(name = "vehicleId",value = "车主ID",required = true)
    private Long vehicleId;

    /**
     *上报开始时间
     */
    @ApiModelProperty(name = "startTime",value = "上报开始时间",required = true)
    private Date startTime;

    /**
     *上报结束时间
     */
    @ApiModelProperty(name = "endTime",value = "上报结束时间",required = true)
    private Date endTime;

    public Long getVehicleId() {
        return vehicleId;
    }

    public void setVehicleId(Long vehicleId) {
        this.vehicleId = vehicleId;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    @Override
    public String toString() {
        return ReflectionToStringBuilder.toString(this);
    }

}
